<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>index</title>
</head>
<body>
<h1>李牧：欢迎你！！！</h1>

<ul>
    <!--<a href="car/3/owner/lisi">/car/{id}/owner/{username}</a>-->
    <a href="car/3/owner/lisi?age=18&inters=basketball&inters=game">car/3/owner/lisi?age=18&inters=basketball&inters=game</a>
</ul>

页面开发：cookie禁用了，session里面的内容怎么使用？
session.set(a,b)--->jsessionid --->cookie--->每次发请求携带
url重写：/abc；jsessionid=xxx 吧cookie的值使用矩阵变量的方法传递


测试REST风格：
<form action="/user" method="get">
    <input type="submit" value="REST-GET 提交"/>
</form>
<form action="/user" method="post">
    <input type="submit" value="REST-POST 提交"/>
</form>
<form action="/user" method="post">
    <input type="hidden" value="DELETE" name="_method">
    <input type="submit" value="REST-DELETE 提交"/>
</form>
<form action="/user" method="post">
    <input type="hidden" value="PUT" name="_method">
    <input type="submit" value="REST-PUT 提交"/>
</form>
<hr/>
测试节本注解：
<a href="/car/1">@PathVariable</a><br>
<a href="/car/1">@RequestHeader</a><br>
<a href="/cars?brand=byd">@RequestParam-GET</a><br>
<a href="/cars?brand=byd&brand=yd">@RequestParam-GET</a><br>
<a href="/cars/sell;low=34;brand=byd,audi,yd">@MatrixVariable(矩阵变量)</a><br>
<a href="/cars/sell;low=34;brand=byd,brand=audi;brand=yd">@MatrixVariable(矩阵变量)</a><br>
<a href="/boss/1;age=20/2;age=10">@MatrixVariable(矩阵变量)/boss/{bossId}{empId}</a><br>
<br>
<form action="/save" method="post">
    测试@RequestBody获取数据 <br>
    用户名：<input name="userName"/><br>
    邮箱：<input name="email">
    <input type="submit" value="提交">
</form>
<hr>

</body>
</html>